package com.example.servicea.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.example.servicea.entity.UserOrganizationEntity;

import java.util.List;

/**
 * @Author hutu.
 * @Date: 2017/10/26 10:19
 */
public interface UserOrganizationService {
    boolean insert(UserOrganizationEntity userOrganization);
    List<UserOrganizationEntity> selectList(UserOrganizationEntity userOrganization);

    Page selectPage(UserOrganizationEntity userOrganization, String page, String limit);

    int selectCount(UserOrganizationEntity userOrganization);

	UserOrganizationEntity selectOne(UserOrganizationEntity userOrganization);

	UserOrganizationEntity selectById(String id);

    boolean updateById(UserOrganizationEntity userOrganization);

    boolean deleteById(String id);

    boolean deleteBatchIds(String ids);

}